package com.gome.ocean.server.service;

import java.util.List;
import java.util.Map;

import com.gome.ocean.dao.model.cango.CangoTable;

/**
 * @author zhangguoqing 2017年2月15日 下午5:20:53
 * @since 5.0.0
 */
public interface ICangoTableService {

    public boolean insert(CangoTable table);

    public boolean update(CangoTable table);

    public boolean deleteById(Long id);

    public boolean deleteByInstancesName(String instancesName);

    public CangoTable getBeanByMap(Map<String, Object> map);

    public List<CangoTable> getBeanListsByName(String instancesName);

    public void deleteAll();

    public void batchSave(List<CangoTable> tables);
}
